package aplicacion;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.nio.Buffer;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Set;
import java.util.regex.Pattern;

import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDDocumentInformation;
import org.apache.pdfbox.util.PDFTextStripper;
//import org.hibernate.SessionFactory;
import org.apache.pdfbox.pdmodel.PDPage;

import citasManager.ReferenceBuilder;
import citasManager.Searcher;
import expresionesManager.APA;
import expresionesManager.BookIEEE;
import expresionesManager.Expresion;
import expresionesManager.IEEE;
import expresionesManager.OnLineIEEE;
import pdfManager.PDFAdmin;

public class principal {

	public static void main(String[] args) throws IOException {
	//	PDFAdmin pdf = new PDFAdmin("C:\\Users\\Pablo\\Documents\\prueba.pdf");
	//	String path = "C:\\Users\\Pablo\\Documents\\prueba2.pdf";	
		String path = "C:\\Users\\Pablo\\Documents\\prueba_ieee.pdf";
		//Expresion exp = new APA();
		Expresion exp = new BookIEEE();
		
		ReferenceBuilder rB = new ReferenceBuilder();
		rB.processFile(path, exp);

	
	}
}
